package au.com.iglootech.TaxTimeToolTip.ui.invoice;

import java.io.Serializable;
import java.util.Date;

import au.com.iglootech.TaxTimeToolTip.Entity.Company;
import au.com.iglootech.TaxTimeToolTip.util.DateUtils;
import au.com.iglootech.TaxTimeToolTip.util.FeeUtil;

public class InvoiceDateVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8315097275065686998L;
	public String contactNumber;
	public String contactName;
	public String companyName;
	public String address1;
	public String address2;
	public String details;
	public String invoiceNumber;
	public String invoiceDate;
	public String yourRef;
	public String deliveryAddress;
	public String terms;
	public Double totalGST;
	public String subTotal;
	public String exGST;
	public String gst;
	public String incGST;
	public String paidDATE;
	public String balanceDue;
	
	public InvoiceDateVO()
	{
		
	}
	
	public InvoiceDateVO(Company company, Double totalGST, String details)
	{
		this.totalGST = totalGST;
		this.details = details;
		companyName = company.getCompanyName();
		contactName = company.getContactName();
		contactNumber = company.getContactNumber();
		address1 = company.getAddress1();
		address2 = company.getAddress2();
		gst = FeeUtil.formatFeeWithUnit(totalGST*0.1);
		incGST = FeeUtil.formatFeeWithUnit(totalGST*1.1);
		invoiceDate = DateUtils.formateDate(new Date());
	}
	public String getContactNumber() {
		return contactNumber;
	}
	public void setContactNumber(String contactNumber) {
		this.contactNumber = contactNumber;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getAddress1() {
		return address1;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public String getAddress2() {
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public String getInvoiceNumber() {
		return invoiceNumber;
	}
	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}
	public String getInvoiceDate() {
		return invoiceDate;
	}
	public void setInvoiceDate(String invoiceDate) {
		this.invoiceDate = invoiceDate;
	}
	public String getYourRef() {
		return yourRef;
	}
	public void setYourRef(String yourRef) {
		this.yourRef = yourRef;
	}
	public String getDeliveryAddress() {
		return deliveryAddress;
	}
	public void setDeliveryAddress(String deliveryAddress) {
		this.deliveryAddress = deliveryAddress;
	}
	public String getTerms() {
		return terms;
	}
	public void setTerms(String terms) {
		this.terms = terms;
	}
	public Double getTotalGST() {
		return totalGST;
	}
	public void setTotalGST(Double totalGST) {
		this.totalGST = totalGST;
	}
	public String getSubTotal() {
		return subTotal;
	}
	public void setSubTotal(String subTotal) {
		this.subTotal = subTotal;
	}
	public String getExGST() {
		return exGST;
	}
	public void setExGST(String exGST) {
		this.exGST = exGST;
	}
	public String getGst() {
		return gst;
	}
	public void setGst(String gst) {
		this.gst = gst;
	}
	public String getIncGST() {
		return incGST;
	}
	public void setIncGST(String incGST) {
		this.incGST = incGST;
	}
	public String getPaidDATE() {
		return paidDATE;
	}
	public void setPaidDATE(String paidDATE) {
		this.paidDATE = paidDATE;
	}
	public String getBalanceDue() {
		return balanceDue;
	}
	public void setBalanceDue(String balanceDue) {
		this.balanceDue = balanceDue;
	}
	
	
}
